<?php
if (!session_id()) {
	ini_set('session.use_cookies', 'On');
	ini_set('session.use_trans_sid', 'Off');

	session_set_cookie_params(0, '/');
	session_start();
}
/*

 * CKFinder

 * ========

 * http://ckfinder.com

 * Copyright (C) 2007-2009, CKSource - Frederico Knabben. All rights reserved.

 *

 * The software, this file and its contents are subject to the CKFinder

 * License. Please read the license.txt file before using, installing, copying,

 * modifying or distribute this file or part of its contents. The contents of

 * this file is part of the Source Code of CKFinder.

 */

if (version_compare(phpversion(), '5', '<' ) )

	require_once 'core/ckfinder_php4.php' ;

else

	require_once 'core/ckfinder_php5.php' ;
?>